/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html,
body,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    display: block;
    margin: 0 auto;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
textarea,
button,
a,
select,
div {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    /*-webkit-user-select:none;*/
}

a,
img,
label {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

button:focus,
input:focus {
    outline: none;
}

input,
input[type="checkbox"],
input[type="radio"],
input[type="search"],
textarea {
    box-sizing: border-box;
}

input[type="text"],
input[type="tel"],
input[type="number"] {
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input::-webkit-input-placeholder {
    font-size: 0.24rem; //解决iphone下字体大小为12的问题（和input大小不一致）
    line-height: 1.3em; //解决不垂直居中的问题
}

button:focus {
    outline: none;
}

.clearfix::after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    *zoom: 1;
}